import { http } from "@/utils/http";

export type commonResult<T> = {
  code: number;
  msg: string;
  result: T;
};

export const getInfo = (params?: object) => {
  return http.request<commonResult<any>>("get", '/supervise/index/v2/family/family', {
    params
  });
};
